<?php

use Illuminate\Support\Facades\Route;

Route::group(['namespace' => '\App\Http\Controllers\Log', 'middleware' => ['auth:admin']], function () {
    Route::resource('log', 'LogController')->only(['index']);

    Route::get('storageLogs', 'StorageLogController@parkingFiles')->middleware('auth:admin');
    Route::post('downloadLogFile', 'StorageLogController@downloadLogFile')->middleware('auth:admin');
});
